# 输入成绩并判断
score = int(input("请输入成绩:"))
if score >= 70:
    if score <= 90:
        print("成绩为良")
    else:
        print("成绩为优")
else:
    if score >= 60:
        print("成绩及格")
    else:
        print("成绩不及格")